
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
    .box{
        margin-left: 50px;
    }
</style>

<body>
    <div id="app">
        <div class="box">
            <h2>请选择你喜欢的专栏</h2>
            <label v-for="item in list" >
                <input type="checkbox"  :value="item" v-model="arr" >{{ item }}
              </label>
              <ul>
                <li v-for="item in arr ">
                    {{ item }}
                </li>
              </ul>
        </div>
    </div>
 
</body>
<script src="./vue.js" ></script>
<script>
   const app = new Vue({
    el:'#app',
    data:{
       list:["科幻", "喜剧", "动漫", "冒险", "科技", "军事", "娱乐", "奇闻"],
       arr:[],
    }


   })
</script>
</html>